package com.lk.mi.service;

import com.lk.mi.entity.User;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface userService {

    //登录
    User login(String username, String password);

    //注册
    Integer register(String username,String password);

    //注销
    Integer destroy(Integer id);


}
